import { NgModule } from '@angular/core';
import { SharedModule } from '@shared/shared.module';
import { IntegralRoutingModule } from './integral-routing.module';
import { IntegralIntegralListComponent } from './integral-list/integral-list.component';
import { IntegralIntegralDetailComponent } from './integral-detail/integral-detail.component';
import { IntegralProductService } from '@core/routes-services/integral-product.service';
import { IntegralConvertService } from '@core/routes-services/integral-convert.service';
import { IntegralIntegralConvertComponent } from './integral-convert/integral-convert.component';
import { IntegralConvertViewComponent } from './convert-view/convert-view.component';

const COMPONENTS = [
  IntegralIntegralListComponent,
  IntegralIntegralConvertComponent];
const COMPONENTS_NOROUNT = [
  IntegralIntegralDetailComponent,
  IntegralConvertViewComponent];

@NgModule({
  imports: [
    SharedModule,
    IntegralRoutingModule
  ],
  declarations: [
    ...COMPONENTS,
    ...COMPONENTS_NOROUNT
  ],
  entryComponents: COMPONENTS_NOROUNT,
  providers: [IntegralProductService,IntegralConvertService]
})
export class IntegralModule { }
